﻿using blog.Model.Dto;
using blog.Model.Vo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace blog.Service
{
    public interface IService<T> where T : class
    {
        Task<AjaxResult> Select(ListModel param,SearchKey key);
        Task<AjaxResult> Insert(T param);
        Task<AjaxResult> Update(T param);
        Task<AjaxResult> Delete(List<long> id);
        Task<AjaxResult> Find(long id);

    }
}
